package com.chinairi.mall.service.impl;

import com.chinairi.mall.controller.viewobject.OrderGoodsInfoParam;
import com.chinairi.mall.model.OrderGoods;
import com.chinairi.mall.dao.OrderGoodsMapper;
import com.chinairi.mall.service.IOrderGoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 订单商品关系表 服务实现类
 * </p>
 *
 * @author gsl
 * @since 2020-10-13
 */
@Service
public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGoods> implements IOrderGoodsService {
    @Autowired
    private OrderGoodsMapper orderGoodsMapper;
    @Override
    public void saveOrderGoods(OrderGoodsInfoParam orderGoodsParam) {
        orderGoodsMapper.saveOrderGoods(orderGoodsParam);
    }
}
